<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+
request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
	<thead>
	<tr>
		<th>编号</th>
		<th>姓名</th>
		<th>密码</th>
		<th>电话</th>
		<th>性别</th>
		<th>标志</th>
		<th colspan="3">操作</th>
	</tr>
	</thead>
	<tbody>
	<c:forEach items="${users.tList}" var="user">
		<td>${user.uid}</td>
		<td>${user.uname}</td>
		<td>${user.upwd}</td>
		<td>${user.utel}</td>
		<td>${user.usex}</td>
		<td>${user.utype}</td>
		<td>
			<from action="">
				<a href="user/getUserById/${user.uid}">修改</a>
			</from>
			<from action="">
				<a href="user/deleteById/${user.uid}">删除</a>
			</from>
		</td>
		<tr>
	</c:forEach>
	</tbody>
</table>
<div>
    <from action="">
        <a href="page/arrive/user/add">添加</a>
    </from>
</div>
</body>
</html>